package com.demo.dao;

import com.demo.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @ClassName UserDao
 * @Description TODO
 * @Author Windy
 * @Date 2022/9/15 19:46
 * @Version 1.0
 **/
public interface UserRepository extends JpaRepository<User, Integer> {

    User findOneByName(String username);
}
